package com.mazaiting.ftp.interfaces;

import java.io.FileNotFoundException;
import java.io.InputStream;

/**
 * 文件流转换接口
 * @title: IStreamHolder
 * @Author danghailiang
 * @Date: 2022/4/24 11:06
 * @Version 1.0
 */
public interface IStreamHolder {
    /**
     * 文件流转换
     * @return 返回一个文件流
     * @throws FileNotFoundException 捕获文件流转换时异常
     */
    InputStream getInputStream() throws FileNotFoundException;
}
